abstract data structures in Python